﻿using Logistics.BLL;
using Logistics.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Logistics.Web
{
    public partial class Login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            if (UserInfoBLL.L(TextBox1.Text.Trim(),TextBox2.Text.Trim())!=null)
            {
                Response.Redirect("yo.aspx");
            }
            else
            {
                Response.Write("信息有误");
            }
        }
    }
}